Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain why functions returns extra information with tuples #12824

Merged
merged 2 commits into from
Jul 28, 2023

Conversation

Florent2
Copy link
Contributor

Currently the guide says

One very common use case for tuples is to use them to return extra information from a function.

but I find it does not explicitly say why.

Hopefully this change makes it clearer. I'm an Elixir beginner, so the explanation may be wrong though :)

Currently the guide says

> One very common use case for tuples is to use them to return extra information from a function.

but I find it does not explicitly say why.
@josevalim josevalim merged commit a1112fe into elixir-lang:main Jul 28, 2023
1 check failed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@Florent2 Florent2 deleted the patch-1 branch July 28, 2023 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants